package com.gg.common.mapper;

import com.gg.common.pojo.MManufacture;
import com.gg.zjj.pojo.DataAfterSubmission;
import com.gg.zjj.pojo.LastProcessView1;
import com.gg.zjj.pojo.MProcedureModuleView;
import com.gg.zjj.util.Result;

import java.util.List;

public interface MManufactureMapper {


    int deleteByPrimaryKey(Integer id);

    int insert(MManufacture record);

    int insertSelective(MManufacture record);

    MManufacture selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(MManufacture record);

    int updateByPrimaryKey(MManufacture record);

    String QueryTheLastDispatchOrderNumber();

    List<MManufacture> queryAllPendingProductionDispatchOrdersMapper();

    MManufacture queryByManufactureId(String manufactureId);

    void approvedByDispatchedWorkers(MProcedureModuleView workOrderNumber);

    void productionDispatcherRefused(String workOrderNumber);

    List<MManufacture> queryAllProductionSummaries();

    List<MManufacture> queryProductionDispatchOrdersToBeRegistered();

    List<MManufacture> queryTheProductionOperationToBeApprovedMapper();

    MManufacture queryingProductionProcessRecords(String val);

    void modifyActualQuantity(DataAfterSubmission dataAfterSubmission);

    MManufacture queryByWorkOrderNumber(String workOrderNumber);

    void lastStepModification(LastProcessView1 o3);
}